package com.example.tuter.util;

import androidx.recyclerview.widget.RecyclerView;

public class UpdateUIUtil {

    public static void updateUIBySingleAdapter(RecyclerView.Adapter adapter){
        adapter.notifyItemInserted(adapter.getItemCount());
        adapter.notifyItemChanged(adapter.getItemCount());
    }
}
